[Extension()] public static bool CanSort<T>( ICollectionView<T> collectionView, string sortPath, SortDirection direction ) where T: class
Parameters
- collectionView
- The collection view.
- sortPath
- The path of the data item to which the sort would be applied.
- direction
- Whether the sort is ascending or descending.
Type Parameters
- T